package com.htz.agency.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.htz.agency.pojo.Announcement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnnouncementVO extends Announcement{
    private String categoryName;
    private String adminName;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime startTime;
//
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime endTime;
}
